package com.robert.data_generator.enums;

/**
 * IdTypeEnum:
 *
 * @author zhaoshengtao
 * @date 2024/05/23
 */
public enum IdTypeEnum {

    AUTO(1, "自增"),
    DATE(2, "时间生成"),

    SN(3, "雪花算法生成");

    private int value;
    private String name;

    IdTypeEnum(int value, String name) {
        this.value = value;
        this.name = name;
    }

    public int getValue() {
        return value;
    }

    public String getName() {
        return name;
    }

}
